﻿using System;
using System.Collections.Generic;

namespace Camc.Quality.ProcessRoute
{
    public  class ProcessNodeDto
    {
        public Guid Key { get; set; }

        /// <summary>
        /// 节点图号
        /// </summary>
        public string NodeDrawingNo { get; set; }
        /// <summary>
        /// 前端所需坐标
        /// </summary>
        public string Loc { get; set; }

        /// <summary>
        /// 节点名称
        /// </summary>
        public string Text { get; set; }

        /// <summary>
        /// 详情
        /// </summary>
        public string Details { get; set; }

        /// <summary>
        /// 形状
        /// </summary>
        public string Figure { get; set; }

        /// <summary>
        /// 字体和边框颜色
        /// </summary>
        public string Color { get; set; }
        /// <summary>
        /// 大小
        /// </summary>
        public int Size { get; set; }

        /// <summary>
        ///   底色
        /// </summary>
        public string Fill { get; set; }

        /// <summary>
        /// 父节点Id
        /// </summary>
        public Guid ParentId { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 工时
        /// </summary>
        public decimal WorkingHour { get; set; }

        /// <summary>
        /// 属性
        /// </summary>
        public string Characteristic { get; set; } = "";



    }
    public class ProcessDesignDto
    {
        public  Guid ParentId { get; set; }

        public List<ProcessNodeDto> ProcessNodeList { get; set; }

        public List <ProcessLineDto> ProcessLineList { get; set; }

        /// <summary>
        /// 工时计算方式 0工序 1 工步
        /// </summary>
        public string WorkingHourStatus { get; set; }

        public Guid BopDescId { get; set; }


    }
}
